package com.itheima.day06.extra;

import java.util.Scanner;

public class ATM {
    public int cash = 3000;
    public String username;
    public String password;
    public int passwordErrorTimes = 0;
    public ATMstatus status = ATMstatus.LOGIN;
    public State state = new State();

    public void init() {
        state.login(this);
    }

}
